package com.group4.edu.client;

import com.group4.edu.client.impl.VodClientHystrixImpl;
import com.study.util.ResponseResult;
import io.swagger.annotations.ApiParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Set;

/**
 * @Description:vod远程调用客户端
 * @Author:l
 * @Date:2022.03.17
 */
@FeignClient(name = "service-vod",fallback = VodClientHystrixImpl.class)
@Component
public interface VodClient {
    @DeleteMapping("/admin/vod/video/delete-batch")
    ResponseResult<Void> removeVideoList(@RequestParam("videoIdList") Set<String> videoIdSet);
}
